package ca.ericslandry.shared.rpc;

import net.customware.gwt.dispatch.shared.Action;

public class GetUser implements Action<GetUserResult> {
	private static final long serialVersionUID = -2670851956887385859L;
	private Long id;
	private String openid;

	@SuppressWarnings("unused")
	private GetUser() {
	}

	public GetUser(final Long id) {
		this.id = id;
	}
	
	public GetUser(final String openid) {
		this.openid = openid;
	}

	public Long getId() {
		return id;
	}

	public String getOpenid() {
		return openid;
	}
}
